<template>
  <div>
    <el-button @click="handleLogin">登陆+++++{{ status }}</el-button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      ts: this.newStore(),
      status: ''
    }
  },
  methods: {
    handleLogin() {
      const req = {
        handle: 'E299744D88ADCDF5C56442DDF419DB4E33B34DAB6D91425D',
        id: 'super',
        passwords: 'qwe123'
      }
      this.spost(this.ts, '/mainservlet', req).then(ts => {
        console.log(ts.d)
        this.status = ts.d.sflag
      })
    }
  }
}
</script>

<style>
</style>
